<template>
  <div>
    <h2>组件的使用</h2>
    <hr />
    <my-left></my-left>
    <!-- <MyLeft></MyLeft> -->
    <MyRight></MyRight>
  </div>
</template>

<script>
// 1.导入组件
import MyLeft from "@/components/Left.vue";
import MyRight from "@/components/Right.vue";

export default {
  // 2.组测组件
  components: {
    // 标签名:导入的组件
    MyLeft,
    MyRight,
  },
};
</script>

<style lang="scss" scoped>
</style>